package org.example.mall.Pojo;

import lombok.Data;

import java.sql.Timestamp;

@Data
public class Order {
    //订单号
    private Integer oId;
    private String pId;
    private String userName;
    //订单状态:
    //0:待付款(初始状态，)
    //1:已付款(付款完成，)
    //2:已收货(订单可删除)
    //3:已关闭(订单可删除)
    private Integer status;
//    private String pImgLink;
//    private String pDec;
    //订单创建时间
    private Timestamp createDate;
    //订单完成(关闭)时间
    private Timestamp completeDate;
    //实付价格
    private Float price;
    //收货人
    private Integer cId;
}
